<?php
registerTable("permission_list", new table_permission_list());

class table_permission_list extends Database
{
    
    public function __construct()
    {
        parent::__construct("permission_list");
    }
    public function fetch_by_name($name){
        return $this->fetch_assoc("`p_name`=$name");
    }
}
?>